package Operation;

import Book.BookList;

public class ShowOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("图书列表：");
        for (int i = 0; i < bookList.getUsedSize(); i++){
                System.out.println(bookList.getBook(i));
        }
        System.out.println("共" + bookList.getUsedSize() + "本。");
    }
}
